package com.eastfair.weixin.dto;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 微信公众号事件
 * </p>
 *
 * @author ligang
 * @since 2021-09-07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "OfficialEventPageQuery", description = "微信公众号事件")
public class OfficialEventPageQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    private String openid;
    @ApiModelProperty(value = "")
    private String toUserName;
    /**
     * 来源用户信息
     */
    @ApiModelProperty(value = "来源用户信息")
    private String fromUserName;
    @ApiModelProperty(value = "")
    private String msgType;
    @ApiModelProperty(value = "")
    private String msgId;
    /**
     * 事件类型
     */
    @ApiModelProperty(value = "事件类型")
    private String event;
    /**
     * 事件名称
     */
    @ApiModelProperty(value = "事件名称")
    private String eventKey;
    /**
     * 二维码ticket
     */
    @ApiModelProperty(value = "二维码ticket")
    private String ticket;
    /**
     * 二维码详细信息
     */
    @ApiModelProperty(value = "二维码详细信息")
    private String actionInfo;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userAccountId;
    /**
     * 项目ID
     */
    @ApiModelProperty(value = "项目ID")
    private Long projectId;
    /**
     * 是否生效(默认1：可用 0:不可用)
     */
    @ApiModelProperty(value = "是否生效(默认1：可用 0:不可用)")
    private Integer isEnabled;
    /**
     * 是否删除(默认0：未删除 1:已删除)
     */
    @ApiModelProperty(value = "是否删除(默认0：未删除 1:已删除)")
    private Integer isDeleted;

}
